package com.ross.mode.builder;

import com.ross.mode.ceiling.LevelOneCeiling;
import com.ross.mode.ceiling.LevelTwoCeiling;
import com.ross.mode.coat.DuluxCoat;
import com.ross.mode.coat.LiBangCoat;
import com.ross.mode.floor.ShengXiangFloor;
import com.ross.mode.tile.DongPentTile;
import com.ross.mode.tile.MarcoPoloTile;

/**
 * @version 1.0.0
 * @className: Builder
 * @description:
 * @author: zhangjunfa
 * @date: 2023/4/1 13:59
 */
public class Builder {

    public IMenu levelOne(Double area) {
        return new DecorationPackageMent(area, "豪华欧式")
                .appendCeiling(new LevelTwoCeiling())
                .appendCoat(new DuluxCoat())
                .appendFloor(new ShengXiangFloor());


    }

    public IMenu levelTwo(Double area) {
        return new DecorationPackageMent(area, "轻奢田园")
                .appendCeiling(new LevelTwoCeiling())   // 吊顶，二级顶
                .appendCoat(new LiBangCoat())           // 涂料，立邦
                .appendTile(new MarcoPoloTile());       // 地砖，马可波罗
    }

    public IMenu levelThree(Double area) {
        return new DecorationPackageMent(area, "现代简约")
                .appendCeiling(new LevelOneCeiling())   // 吊顶，二级顶
                .appendCoat(new LiBangCoat())           // 涂料，立邦
                .appendTile(new DongPentTile());        // 地砖，东鹏
    }

}
